.class final Lcom/a0soft/gphone/app2sd/main/q;
.super Landroid/widget/BaseAdapter;
.source "AppIconWnd.java"

# interfaces
.implements Landroid/widget/Filterable;


# instance fields
.field private a:Lcom/a0soft/gphone/app2sd/main/AppIconWnd;

.field private b:Lcom/a0soft/gphone/app2sd/a/a;

.field private c:[Ljava/lang/String;

.field private d:Lcom/a0soft/gphone/app2sd/main/r;

.field private e:Ljava/util/ArrayList;


# direct methods
.method public constructor <init>(Lcom/a0soft/gphone/app2sd/main/AppIconWnd;)V
    .locals 1
    .parameter

    .prologue
    .line 817
    invoke-direct {p0}, Landroid/widget/BaseAdapter;-><init>()V

    .line 818
    iput-object p1, p0, Lcom/a0soft/gphone/app2sd/main/q;->a:Lcom/a0soft/gphone/app2sd/main/AppIconWnd;

    .line 820
    invoke-static {}, Lcom/a0soft/gphone/app2sd/main/CoreApp;->h()Lcom/a0soft/gphone/app2sd/main/CoreApp;

    move-result-object v0

    invoke-virtual {v0}, Lcom/a0soft/gphone/app2sd/main/CoreApp;->i()Lcom/a0soft/gphone/app2sd/a/a;

    move-result-object v0

    iput-object v0, p0, Lcom/a0soft/gphone/app2sd/main/q;->b:Lcom/a0soft/gphone/app2sd/a/a;

    .line 821
    invoke-static {p1}, Lcom/a0soft/gphone/app2sd/main/AppIconWnd;->j(Lcom/a0soft/gphone/app2sd/main/AppIconWnd;)[Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/a0soft/gphone/app2sd/main/q;->c:[Ljava/lang/String;

    .line 823
    new-instance v0, Lcom/a0soft/gphone/app2sd/main/r;

    invoke-direct {v0, p0}, Lcom/a0soft/gphone/app2sd/main/r;-><init>(Lcom/a0soft/gphone/app2sd/main/q;)V

    iput-object v0, p0, Lcom/a0soft/gphone/app2sd/main/q;->d:Lcom/a0soft/gphone/app2sd/main/r;

    .line 824
    const/4 v0, 0x0

    iput-object v0, p0, Lcom/a0soft/gphone/app2sd/main/q;->e:Ljava/util/ArrayList;

    .line 825
    return-void
.end method

.method private a(I)Ljava/lang/String;
    .locals 2
    .parameter

    .prologue
    .line 844
    iget-object v0, p0, Lcom/a0soft/gphone/app2sd/main/q;->e:Ljava/util/ArrayList;

    if-eqz v0, :cond_0

    .line 845
    iget-object v0, p0, Lcom/a0soft/gphone/app2sd/main/q;->e:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/Integer;

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v0

    .line 846
    :goto_0
    iget-object v1, p0, Lcom/a0soft/gphone/app2sd/main/q;->c:[Ljava/lang/String;

    aget-object v0, v1, v0

    return-object v0

    :cond_0
    move v0, p1

    goto :goto_0
.end method

.method static synthetic a(Lcom/a0soft/gphone/app2sd/main/q;Ljava/util/ArrayList;)Ljava/util/ArrayList;
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 805
    iput-object p1, p0, Lcom/a0soft/gphone/app2sd/main/q;->e:Ljava/util/ArrayList;

    return-object p1
.end method

.method static synthetic a(Lcom/a0soft/gphone/app2sd/main/q;)[Ljava/lang/String;
    .locals 1
    .parameter

    .prologue
    .line 805
    iget-object v0, p0, Lcom/a0soft/gphone/app2sd/main/q;->c:[Ljava/lang/String;

    return-object v0
.end method

.method static synthetic b(Lcom/a0soft/gphone/app2sd/main/q;)Lcom/a0soft/gphone/app2sd/a/a;
    .locals 1
    .parameter

    .prologue
    .line 805
    iget-object v0, p0, Lcom/a0soft/gphone/app2sd/main/q;->b:Lcom/a0soft/gphone/app2sd/a/a;

    return-object v0
.end method


# virtual methods
.method public final getCount()I
    .locals 1

    .prologue
    .line 836
    iget-object v0, p0, Lcom/a0soft/gphone/app2sd/main/q;->e:Ljava/util/ArrayList;

    if-eqz v0, :cond_0

    .line 837
    iget-object v0, p0, Lcom/a0soft/gphone/app2sd/main/q;->e:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    .line 838
    :goto_0
    return v0

    :cond_0
    iget-object v0, p0, Lcom/a0soft/gphone/app2sd/main/q;->c:[Ljava/lang/String;

    if-nez v0, :cond_1

    const/4 v0, 0x0

    goto :goto_0

    :cond_1
    iget-object v0, p0, Lcom/a0soft/gphone/app2sd/main/q;->c:[Ljava/lang/String;

    array-length v0, v0

    goto :goto_0
.end method

.method public final getFilter()Landroid/widget/Filter;
    .locals 1

    .prologue
    .line 830
    iget-object v0, p0, Lcom/a0soft/gphone/app2sd/main/q;->d:Lcom/a0soft/gphone/app2sd/main/r;

    return-object v0
.end method

.method public final bridge synthetic getItem(I)Ljava/lang/Object;
    .locals 1
    .parameter

    .prologue
    .line 805
    invoke-direct {p0, p1}, Lcom/a0soft/gphone/app2sd/main/q;->a(I)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public final getItemId(I)J
    .locals 2
    .parameter

    .prologue
    .line 852
    int-to-long v0, p1

    return-wide v0
.end method

.method public final getView(ILandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
    .locals 6
    .parameter
    .parameter
    .parameter

    .prologue
    .line 858
    if-nez p2, :cond_0

    .line 859
    iget-object v1, p0, Lcom/a0soft/gphone/app2sd/main/q;->a:Lcom/a0soft/gphone/app2sd/main/AppIconWnd;

    iget-object v1, v1, Lcom/a0soft/gphone/app2sd/main/AppIconWnd;->e:Lcom/a0soft/gphone/app2sd/main/d;

    invoke-virtual {v1, p3}, Lcom/a0soft/gphone/app2sd/main/d;->a(Landroid/view/ViewGroup;)Landroid/view/ViewGroup;

    move-result-object v1

    move-object v2, v1

    .line 862
    :goto_0
    move-object v0, v2

    check-cast v0, Landroid/view/ViewGroup;

    move-object v1, v0

    .line 864
    iget-object v3, p0, Lcom/a0soft/gphone/app2sd/main/q;->b:Lcom/a0soft/gphone/app2sd/a/a;

    invoke-direct {p0, p1}, Lcom/a0soft/gphone/app2sd/main/q;->a(I)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Lcom/a0soft/gphone/app2sd/a/a;->a(Ljava/lang/String;)Lcom/a0soft/gphone/app2sd/a/g;

    move-result-object v3

    .line 865
    iget-object v4, p0, Lcom/a0soft/gphone/app2sd/main/q;->a:Lcom/a0soft/gphone/app2sd/main/AppIconWnd;

    iget-object v4, v4, Lcom/a0soft/gphone/app2sd/main/AppIconWnd;->e:Lcom/a0soft/gphone/app2sd/main/d;

    iget-object v5, p0, Lcom/a0soft/gphone/app2sd/main/q;->a:Lcom/a0soft/gphone/app2sd/main/AppIconWnd;

    invoke-static {v5}, Lcom/a0soft/gphone/app2sd/main/AppIconWnd;->h(Lcom/a0soft/gphone/app2sd/main/AppIconWnd;)I

    move-result v5

    invoke-virtual {v4, v3, v1, v5}, Lcom/a0soft/gphone/app2sd/main/d;->a(Lcom/a0soft/gphone/app2sd/a/g;Landroid/view/ViewGroup;I)V

    .line 866
    return-object v2

    :cond_0
    move-object v2, p2

    goto :goto_0
.end method
